package com.lgw.commons.constant;

import lombok.Getter;

/**
 * redis的key常量类
 */
@Getter
public enum RedisKeyConstant {
    verify_code("verify_code:", "验证码"),
    coupon_template_code("coupon_template_code:","优惠券码"),
    seckill_vouchers("seckill_vouchers:","秒杀券的key"),
    lock_key("lockby:", "分布式锁的key");
    ;
    private String key;
    private String desc;

    RedisKeyConstant(String key, String desc) {
        this.key = key;
        this.desc = desc;
    }

}
